home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / -commercial- / warpup_v40 / warpup-warpos / lvo / powerpc_lib.i
Text File  |  1999-06-14  |  4KB  |  143 lines

  1. **
  2. **      $VER: powerpc_lib.i 14.0 (5.3.98)
  3. **
  4. **      Library offsets for powerpc.library V14
  5. **
  6.  
  7. ****  68K Library offsets
  8.  
  9. _LVORunPPC              =       -30
  10. _LVOWaitForPPC          =       -36
  11. _LVOGetCPU              =       -42
  12. _LVOPowerDebugMode      =       -48
  13. _LVOAllocVec32          =       -54
  14. _LVOFreeVec32           =       -60
  15. _LVOSPrintF68K          =       -66
  16. _LVOAllocXMsg           =       -72
  17. _LVOFreeXMsg            =       -78
  18. _LVOPutXMsg             =       -84
  19. _LVOGetPPCState         =       -90
  20. _LVOSetCache68K         =       -96
  21. _LVOCreatePPCTask       =       -102
  22. _LVOCausePPCInterrupt   =       -108
  23.  
  24. ****  PPC Library offsets
  25.  
  26. _LVORun68K              =       -300
  27. _LVOWaitFor68K          =       -306
  28. _LVOSPrintF             =       -312
  29. _LVORun68KLowLevel      =       -318    ;PRIVATE!
  30. _LVOAllocVecPPC         =       -324
  31. _LVOFreeVecPPC          =       -330
  32. _LVOCreateTaskPPC       =       -336
  33. _LVODeleteTaskPPC       =       -342
  34. _LVOFindTaskPPC         =       -348
  35. _LVOInitSemaphorePPC    =       -354
  36. _LVOFreeSemaphorePPC    =       -360
  37. _LVOAddSemaphorePPC     =       -366
  38. _LVORemSemaphorePPC     =       -372
  39. _LVOObtainSemaphorePPC  =       -378
  40. _LVOAttemptSemaphorePPC =       -384
  41. _LVOReleaseSemaphorePPC =       -390
  42. _LVOFindSemaphorePPC    =       -396
  43. _LVOInsertPPC           =       -402
  44. _LVOAddHeadPPC          =       -408
  45. _LVOAddTailPPC          =       -414
  46. _LVORemovePPC           =       -420
  47. _LVORemHeadPPC          =       -426
  48. _LVORemTailPPC          =       -432
  49. _LVOEnqueuePPC          =       -438
  50. _LVOFindNamePPC         =       -444
  51. _LVOFindTagItemPPC      =       -450
  52. _LVOGetTagDataPPC       =       -456
  53. _LVONextTagItemPPC      =       -462
  54. _LVOAllocSignalPPC      =       -468
  55. _LVOFreeSignalPPC       =       -474
  56. _LVOSetSignalPPC        =       -480
  57. _LVOSignalPPC           =       -486
  58. _LVOWaitPPC             =       -492
  59. _LVOSetTaskPriPPC       =       -498
  60. _LVOSignal68K           =       -504
  61. _LVOSetCache            =       -510
  62. _LVOSetExcHandler       =       -516
  63. _LVORemExcHandler       =       -522
  64. _LVOSuper               =       -528
  65. _LVOUser                =       -534
  66. _LVOSetHardware         =       -540
  67. _LVOModifyFPExc         =       -546
  68. _LVOWaitTime            =       -552
  69. _LVOChangeStack         =       -558    ;PRIVATE!
  70. _LVOLockTaskList        =       -564
  71. _LVOUnLockTaskList      =       -570
  72. _LVOSetExcMMU           =       -576
  73. _LVOClearExcMMU         =       -582
  74. _LVOChangeMMU           =       -588
  75. _LVOGetInfo             =       -594
  76. _LVOCreateMsgPortPPC    =       -600
  77. _LVODeleteMsgPortPPC    =       -606
  78. _LVOAddPortPPC          =       -612
  79. _LVORemPortPPC          =       -618
  80. _LVOFindPortPPC         =       -624
  81. _LVOWaitPortPPC         =       -630
  82. _LVOPutMsgPPC           =       -636
  83. _LVOGetMsgPPC           =       -642
  84. _LVOReplyMsgPPC         =       -648
  85. _LVOFreeAllMem          =       -654
  86. _LVOCopyMemPPC          =       -660
  87. _LVOAllocXMsgPPC        =       -666
  88. _LVOFreeXMsgPPC         =       -672
  89. _LVOPutXMsgPPC          =       -678
  90. _LVOGetSysTimePPC       =       -684
  91. _LVOAddTimePPC          =       -690
  92. _LVOSubTimePPC          =       -696
  93. _LVOCmpTimePPC          =       -702
  94. _LVOSetReplyPortPPC     =       -708
  95. _LVOSnoopTask           =       -714
  96. _LVOEndSnoopTask        =       -720
  97. _LVOGetHALInfo          =       -726
  98. _LVOSetScheduling       =       -732
  99. _LVOFindTaskByID        =       -738
  100. _LVOSetNiceValue        =       -744
  101. _LVOTrySemaphorePPC     =       -750
  102. _LVOAllocPrivateMem     =       -756    ;PRIVATE!
  103. _LVOFreePrivateMem      =       -762    ;PRIVATE!
  104. _LVOResetCPU            =       -768    ;PRIVATE!
  105. _LVONewListPPC          =       -774
  106. _LVOSetExceptPPC        =       -780
  107. _LVOObtainSemaphoreSharedPPC    =       -786
  108. _LVOAttemptSemaphoreSharedPPC   =       -792
  109. _LVOProcurePPC          =       -798
  110. _LVOVacatePPC           =       -804
  111. _LVOCauseInterrupt      =       -810
  112. _LVOCreatePoolPPC       =       -816
  113. _LVODeletePoolPPC       =       -822
  114. _LVOAllocPooledPPC      =       -828
  115. _LVOFreePooledPPC       =       -834
  116. _LVORawDoFmtPPC         =       -840
  117.  
  118.         IFND    _POWERMODE
  119.  
  120. CALLPOWERPC     MACRO
  121.         move.l  _PowerPCBase,a6
  122.         jsr     _LVO\1(a6)
  123.         ENDM
  124.  
  125.         ELSEIF
  126.  
  127.         IFND    POWERPC_PPCMACROS_I
  128.         INCLUDE powerpc/ppcmacros.i
  129.         ENDC
  130.  
  131. CALLPOWERPC     MACRO
  132.         lw      r3,_PowerPCBase
  133.         lwz     r0,_LVO\1+2(r3)
  134.         mtlr    r0
  135.         blrl
  136.         ENDM
  137.  
  138.         ENDC
  139.  
  140. POWERPCNAME     MACRO
  141.         dc.b    'powerpc.library',0
  142.         ENDM
  143.